Skip to content

docs: note the scheduled_at future/30-day window - #24

Merged
tuyakhov merged 1 commit into
mainfrom
claude/gallant-einstein-6c402f
Aug 10, 2026
Merged

docs: note the scheduled_at future/30-day window#24
tuyakhov merged 1 commit into
mainfrom
claude/gallant-einstein-6c402f

Conversation

@tuyakhov

@tuyakhov tuyakhov commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Parity with the TypeScript SDK: document the hosted API's scheduling window so developers learn the constraint before hitting a 400.

Changes

  • models.py — the TemplateSend.scheduled_at and RawSend.scheduled_at fields now carry a doc comment: the timestamp must be in the future and at most 30 days ahead; a past or too-distant value is rejected with 400. Omit to send immediately.
  • README — the send(...) example annotates scheduled_at with the future / ≤ 30-days-ahead window.

Notes

  • Documentation only — no field, type, or wire-format change.
  • The email subject/html "required" guidance from the TypeScript MCP work is already structurally enforced here: EmailContent requires both, so a text-only email cannot be constructed.

🤖 Generated with Claude Code


Generated by Claude Code

Document on the TemplateSend/RawSend scheduled_at fields (and the README
send example) that the timestamp must be in the future and at most 30
days ahead, matching the hosted API's validation — a past or too-distant
value is rejected with 400. Keeps the Python SDK's guidance in parity
with the TypeScript SDK.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XCeS6cafCLddV6dakQCKC9
@codecov

codecov Bot commented Aug 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@tuyakhov
tuyakhov merged commit 3424249 into main Aug 10, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants